#include <QCoreApplication>
#include <QDebug>
#include <QByteArray>

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);

    QString str = " Welcome to you! ";
    QByteArray ba = str.toLatin1();
    qDebug() << ba;
    ba.append("Hello,World! ");
    qDebug() << ba.data();

    return a.exec();
}
